package temp

import (
	"background/internal/model/back/entity"
)

// 个性标签
type Playlist struct {
	Basic
	Description string `json:"description,omitempty" gorm:"column:description;not null; type:varchar(255);comment:'description'"    `
	PlayCount   int    `json:"playCount,omitempty" gorm:"column:playCount;not null; type:int;comment:'playCount'"    `
	Tags        string `json:"tags,omitempty" gorm:"column:tags;not null; type:varchar(255);comment:'tags'"    `
}

func (c Playlist) TableName() string {
	return entity.ProjectPre + "playlist"
}
